
var sutime = 5 ;

function successTime(sutime){

	window.setInterval(function(){
		$('#success_time').html(sutime);
		sutime--;
		if (sutime == 0) {
			window.location.href = "/" ;
		};
	},1000);

};

$(document).ready(function(){

	/**
     *注册成功倒计时
	 */
	
	successTime(sutime);
	

});